package com.example.gsp.proxy;

import java.util.Map;
import java.util.concurrent.TimeUnit;

public class TankLogProxy implements Moveable {
    Moveable moveable;

    public TankLogProxy(Moveable moveable) {
        this.moveable = moveable;
    }

    @Override
    public void move() {
        System.out.println(moveable.getClass().getSimpleName() + " move start");
        moveable.move();
        System.out.println(moveable.getClass().getSimpleName() + "move end");
    }

    @Override
    public void stop() {

    }

    @Override
    public void pause(int second) {
    }

    public void stop(String s, String[] ss, Map m) {

    }
}
